%% Author: user11
%% Created: 2012-5-22
%% Description: TODO: Add description to misc
-module(misc).

%%
%% Include files
%%
-include("common.hrl").

%%
%% Exported Functions
%%
-export([
		 write_monitor_pid/3, 
		 delete_monitor_pid/1, 
		 write_system_info/3, 
		 delete_system_info/1
		
		
		]).

%%
%% API Functions
%%
write_monitor_pid(Pid, Module, Args) ->
	ets:insert(?ETS_MONITOR_PID, {Pid, Module, Args}).

delete_monitor_pid(Pid) ->
	ets:delete(?ETS_MONITOR_PID, Pid).

write_system_info(Pid, Module, Args) ->
	ets:insert(?ETS_SYSTEM_INFO, {Pid, Module, Args}).
	
delete_system_info(Pid) ->
	ets:delete(?ETS_SYSTEM_INFO, Pid).	


%%
%% Local Functions
%%

